package com.movie.dto;

import com.movie.entity.Rating;
import lombok.Data;
import java.util.Date;
import java.util.List;

@Data
public class MovieDTO {
    private Integer id;
    private String title;
    private String director;
    private String actors;
    private Date releaseDate;
    private Integer duration;
    private String description;
    private String posterUrl;
    private Double avgRating;    // 平均分
    private Integer ratingCount; // 评分人数
    private Boolean isFavorite;
    private Integer userRating;// 当前用户评分
    private List<Rating> comments;

}

